﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace mytechblog
{
	[MetadataType(typeof(ArticleMetadata))]
	public partial class Article
	{
	}

	public class ArticleMetadata
	{
		[AllowHtml]
		public string ArticleContent { get; set; }

		[AllowHtml]
		public string ArticleContentPreview { get; set; }
	}
}